<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html>

	<head>
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta charset="UTF-8">
		<title>A6体质检测</title>
		<link rel="stylesheet" href="${BASE_PATH}/static/app/css/reset.css" />
		<link rel="stylesheet" type="text/css" href="${BASE_PATH}/static/app/css/header.css"/>	
		<link rel="stylesheet" href="${BASE_PATH}/static/app/css/bodyDetect.css" />
		<link rel="stylesheet" href="${BASE_PATH}/static/app/css/a6Detect.css" />
	</head>

	<body>
		<div class="header">
			<span class="back" onclick="history.go(-1);"></span>
			<a href="/index"><span class="logo_pic"></span></a>
			<span class="logo_text">OK 妈咪</span>
		</div>
		<div class="warp warp-tip" id="title">
			<p class="warp-title">女性特征检测评估</p>
		</div>
		<div class="title">
			<h3 class="title-content">女性特征初检</h3>
		</div>
		<div class="warp">
			<p>经期<span>${nxtz.jingqi }</span></p>
			<p>周期<span>${nxtz.zhouqi }</span></p>
			<p>经量<span>${nxtz.jingliang }</span></p>
			<p>颜色<span>${nxtz.yanse }</span></p>
			<p>气味<span>${nxtz.qiwei }</span></p>
			<p>白带<span>${nxtz.baidai }</span></p>
			<p>经期有无坠胀感<span>${nxtz.jqywzzg }</span></p>
			<p>恶露颜色<span>${nxtz.elys }</span></p>
			<p>持续时间<span>${nxtz.cxsj }</span></p>
			<p>气味<span>${nxtz.qiwei2 }</span></p>
			<p>有无不适感<span>${nxtz.ywbsg }</span></p>
			<div class="warp-checkbox">两便情况
				<span><c:if test="${fn:contains(nxtz.dbqk,1)}">便秘</c:if>
				<c:if test="${fn:contains(nxtz.dbqk,2)}">腹泻</c:if>
				<c:if test="${fn:contains(nxtz.dbqk,3)}">大便不成形</c:if>,
				<c:if test="${fn:contains(nxtz.xbqk,1)}">小便淋漓不尽</c:if>
				<c:if test="${fn:contains(nxtz.xbqk,2)}">尿急不能忍</c:if>
				<c:if test="${fn:contains(nxtz.xbqk,3)}">小便黄，有灼热感</c:if>
				<c:if test="${fn:contains(nxtz.xbqk,4)}">漏尿</c:if></span>
			</div>
			<p>臀腰比<span>${nxtz.ytb }</span></p>
			<p>是否有妈妈臀<span> <c:if test="${nxtz.mmt==1 }">是</c:if> <c:if test="${nxtz.mmt==0 }">否</c:if></span></p>
			<p>妈妈臀的严重程度<span> <c:if test="${nxtz.mmtyzcd==1 }">轻（脂肪厚度2cm以内）</c:if> <c:if test="${nxtz.mmtyzcd==2 }">中（脂肪厚度3-5cm）</c:if><c:if test="${nxtz.mmtyzcd==3 }">重（脂肪厚度5cm及以上）</c:if></span></p>

		</div>

		
		<div class="title">
			<h3 class="title-content">产后综合体能评估</h3>
		</div>
		<div class="warp warp-box">
			<h3>评估项</h3>
			           <span id="pgx1" style="display:none;">睡眠不好-4分</span>
			           <span id="pgx2" style="display:none;">面部松弛有皱纹，晦暗起斑-6分</span>
			           <span id="pgx3" style="display:none;">性欲减退-4分</span>
			           <span id="pgx4" style="display:none;">夜间潮热盗汗-6分</span>
			           <span id="pgx5" style="display:none;">血压不正常-4分</span>
			           <span id="pgx6" style="display:none;">免疫力低，经常感冒-4分</span>
			           <span id="pgx7" style="display:none;">经常烦躁，情绪不稳定-4分</span>
			           <span id="pgx8" style="display:none;">体态臃肿，小肚腩出现-6分</span>
			           <span id="pgx9" style="display:none;">记忆力衰退-6分</span>
			           <span id="pgx10" style="display:none;">阴道干燥松弛-6分</span>
			           <span id="pgx11" style="display:none;">血糖低、食欲亢奋，有强烈的饥饿感-4分</span>
			           <span id="pgx12" style="display:none;">乳房下垂-6分</span>
			           <span id="pgx13" style="display:none;">经期综合症，如痛经.月经不规则-6分</span>
			           <span id="pgx14" style="display:none;">行动时易骨折，有驼背.身高变矮的现象发生-4分</span>
			           <span id="pgx15" style="display:none;">体力和耐力不如以前，容易疲劳-4分</span>
			  <p>子宫脱垂<span style="border:none"><c:if test="${nxtz.zgtc==1 }">轻度</c:if><c:if test="${nxtz.zgtc==2 }">中度</c:if><c:if test="${nxtz.zgtc==3 }">重度</c:if></span></p>
			  <p>前壁膨出<span style="border:none"><c:if test="${nxtz.qbpc==1 }">是</c:if><c:if test="${nxtz.qbpc==0 }">否</c:if></span></p>
			  <p>程度<span style="border:none"><c:if test="${nxtz.chengdu==1 }">正常：20分以下</c:if><c:if test="${nxtz.chengdu==2 }">轻度：20-40分</c:if><c:if test="${nxtz.chengdu==3 }">中度：40-60分</c:if><c:if test="${nxtz.chengdu==4 }">严重：80-100分</c:if></span></p>
		</div>
        <div class="title">
			<h3 class="title-content">骨盆检测
			    <select class="title-time" id="selectchange">
			    	<c:forEach var="list" items="${list }">
						<option value="${list.id }" <c:if test="${list.id == gpjc.id }">selected</c:if>  >${list.clrq }</option>
					</c:forEach>
				</select>
			</h3>	
		</div>
		<div class="warp" id="train">
			
		</div>
		<div class="mask" id="mask">
			<ul>	
				<li><a href="#">女性特征检测评估</a></li>
				<li><a href="${BASE_PATH}/my/myInfo/a6Damaged">受损肤质检测评估</a></li>	
				<li><a href="${BASE_PATH}/my/myInfo/a6Chest">胸部检测评估</a></li>
				<li><a href="${BASE_PATH}/my/myInfo/a6Detectassess">体质检测评估</a></li>				
				<li><a href="${BASE_PATH}/my/myInfo/a6Physique">产后皮肤检测评估</a></li>
				<li><a href="${BASE_PATH}/my/myInfo/a6Skin">产后综合症检测评估</a></li>	
			</ul>
				
		</div>
		<script type="text/javascript" src="${BASE_PATH}/static/app/js/a6Mask.js" ></script>
	</body>
	<script type="text/javascript" src="${BASE_PATH}/static/lib/jquery/jquery-1.11.2.min.js"></script>
	<script type="text/javascript" src="${BASE_PATH}/static/lib/template/template.js"></script>
	<script type="text/javascript" src="${BASE_PATH}/static/app/js/kit.js"></script>
	<script type="text/javascript">
		$(function(){
			train();
			query();
		});
		function train(){
			var id=$("#selectchange").val();
			Kit.ajax.post("${BASE_PATH}/my/myInfo/train",{id:id},function(result){
				$("#train").empty();
				$("#train").append(template("dataTpls",result.object));
			});
		}
		$("#selectchange").change(function(){
			train();
		});
		function query(){
			var tnpg="${nxtz.tnpg}";
			$.each(tnpg.split(","),function(key,value){
				$("#pgx"+value).show();
			});
		}
	</script>
	<script type="text/html" id="dataTpls">
			<p>骨盆(长短)<span>{{gupen}}</span></p>
			<p>臀高峰<span>{{tgf}}</span></p>
			<p>妈妈臀<span>{{mmt}}</span></p>
			<p>垂距(左)<span>{{zcj}}</span></p>
			<p>垂距(右)<span>{{ycj}}</span></p>
	</script>
</html>